bcrypt = require('bcrypt')
do ->
    saltRounds = 12
    salt = await bcrypt.genSalt(saltRounds)
    console.log "SALT : '#{salt}'"

    password = "test123"
    hash = await bcrypt.hash(password, salt)
    console.log 'hash', hash, hash.startsWith(salt)


